<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@include file="/common/definition.jsp"%>
<%@ page language="java" import="java.util.*"%>
<html:html>
<tiles:insert beanName="homepage-definition" flush="true">
	<tiles:put name="title"> Welcome </tiles:put>
	<tiles:put name="body" type="string">
		<div class="container">
			<div class="row">
				<div class="col-md-2"></div>
				<div class="col-md-8">
					<div class="col-md-12 text-center">
						<h1>Đăng Nhập</h1>
						<s:property value="errorLogin" />
					</div>
					<form action="login" class="form-horizontal" role="form">
						<div class="form-group">
							<label class="col-sm-2 control-label">Tài khoản</label>
							<div class="col-sm-10">
								<s:textfield cssClass="form-control" placeholder="Tài khoản"
									name="id"></s:textfield>
							</div>
						</div>
						<div class="form-group">
							<label for="inputPassword3" class="col-sm-2 control-label">Mật
								khẩu</label>
							<div class="col-sm-10">
								<s:password cssClass="form-control" placeholder="Mật khẩu"
									name="password"></s:password>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-offset-2 col-sm-10 text-left">
								<div class="checkbox">
									<label> <input type="checkbox"> Nhớ tài khoản </label>
								</div>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-12 text-center">
								<button type="submit" class="btn btn-default" onclick="this.login.reset();">Đăng Nhập</button>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-12 text-center">
								<a href="#">Quên mật khẩu</a>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-12 text-center">
								<s:a action="register">Đăng ký</s:a>
							</div>
						</div>
					</form>
				</div>
				<div class="col-md-2"></div>
			</div>
		</div>
	</tiles:put>
</tiles:insert>
</html:html>
